// 导入axios工具包
import instance from '@/utils/axios.js'
// 获取用户信息
export function getUserinfo() {
  return instance({
    url: '/au/info',
    isToken: true
  })
}
// 修改用户
export function setUserinfo(data) {
  return instance({
    url: '/au/edit',
    method: 'POST',
    data,
    isToken: true
  })
}
// 文件上传
export function Headportrait(fd) {
  return instance({
    url: '/upload',
    method: 'POST',
    data: fd,
    isToken: true
  })
}
